From: Florian Müllner Date: Mon, 19 Aug 2019 19:12:21 +0000 (+0200) Subject: workspace: Use operator shorthand X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~811^2^2~113 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=1da993745336119e747bddd2ba448dd94f77dd94;p=gnome-shell.git workspace: Use operator shorthand Shorthands like a += b are well-established, so prefer them over the less concise a = a + b. https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/710 --- diff --git a/js/ui/workspace.js b/js/ui/workspace.js index d16a5c1ca..b38a9428e 100644 --- a/js/ui/workspace.js +++ b/js/ui/workspace.js @@ -948,7 +948,7 @@ var LayoutStrategy = class { y += row.height * row.additionalScale + this._rowSpacing; } - compensation = compensation / 2; + compensation /= 2; for (let i = 0; i < rows.length; i++) { let row = rows[i];